// import Layout from "@/layout";

const EquipMaintenanceManageRouter = {
  path: "/equip-maintenance-manage",
  component: "Layout",
  redirect: "noRedirect",
  name: "EquipMaintenanceManage",
  meta: { title: "保养管理", icon: "equip-maintenance-manage" },
  children: [
    {
      path: "/maintenance-temporary-task",
      name: "MaintenanceTemporaryTask",
      component: "equip-maintenance-manage/maintenance-temporary-task/index",
      meta: { title: "临时任务管理", icon: "maintenance-temporary-task" }
    },
    {
      path: "/maintenance-task",
      name: "MaintenanceTask",
      component: "equip-maintenance-manage/maintenance-task/index",
      meta: { title: "保养任务管理", icon: "maintenance-task" }
    },
    {
      path: "/maintenance-task-template",
      name: "MaintenanceTaskTemplate",
      component: "equip-maintenance-manage/maintenance-task-template/index",
      meta: { title: "保养任务模板", icon: "maintenance-task-template" }
    },
    {
      path: "/maintenance-dataitem",
      name: "MaintenanceDataitem",
      component: "equip-maintenance-manage/maintenance-dataitem/index",
      meta: { title: "设备保养项", icon: "maintenance-dataitem" }
    },
    {
      path: "/maintenance-plan",
      name: "MaintenancePlan",
      component: "equip-maintenance-manage/maintenance-plan/index",
      meta: { title: "保养计划管理", icon: "maintenance-plan" }
    },
    {
      path: "/maintenance-task-record",
      name: "maintenanceTaskRecord",
      component: "equip-maintenance-manage/maintenance-task-record/index",
      meta: { title: "历史保养记录", icon: "historical-alarm-record" }
    },
  ]
};

export default EquipMaintenanceManageRouter;
